<template>
  <web-view src="https://www.xazhsq.cn/upload.html" @message="handleMessage"></web-view>
</template>


<script>
  export default {
    data() {
      return {};
    },
    methods: {
      handleMessage(event) {
        console.log(event)
        const file = event.data.file;
        console.log('Received file in UniApp:', file.name, file.size, file.type);
      }
    }
  };
</script>

<style>
</style>